package com.javatest.apptest;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author liuziyang
 * @create 2018-09-03 21:15
 */
@Data
@AllArgsConstructor
public class Customer {
    private String name;
    private String id;

    @JsonIgnore
    public String getCity() {
        return "beijing";
    }

    public String getBirth() {
        return "1990-12-12";
    }
}
